package com.tianxiabuyi.model.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.tianxiabuyi.model.base.TXBYObject;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "hospital_label_member")
public class HospitalLabelMember extends TXBYObject{

    @Column(name = "label_id")@JSONField(name = "label_id")
    private Integer labelId; // 标签编号，hospital_label表的id

    @Column(name = "member_id")@JSONField(name = "member_id")
    private Integer memberId; // 用户id

    private Integer type; // 类别（1成员，2部门）

    public Integer getLabelId() {
        return labelId;
    }

    public void setLabelId(Integer labelId) {
        this.labelId = labelId;
    }

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
